package masterworker;

import mpi.Datatype;
import mpi.MPI;

public abstract class Worker {
	private int id;
	
	/* Constructor */
	public Worker(int id_){
		id = id_;
	}
	public int getID(){
		return id;
	}
			
	/* Do work */
	abstract public double[] doWork(int[] n, double[] a, double[] b);
}
